package com.premadefood.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName goods
 */
@TableName(value ="goods")
@Data
public class Goods implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 商品名称
     */
    private String name;

    /**
     * 商品价格
     */
    private Integer price;

    /**
     * 商品销售数量
     */
    private Integer sellNum;

    /**
     * 店铺名称
     */
    private String storeName;

    /**
     * 商品描述信息
     */
    private String detail;

    /**
     * 商品图片url
     */
    private String imgUrl;

    /**
     * 商品类别(肉类、蔬菜类等)
     */
    private String category;

    /**
     * 是否为时令上新
     */
    private Integer isTimeNew;

    /**
     * 是否为秒杀特卖
     */
    private Integer isSecondSale;

    /**
     * 
     */
    private Date createTime;

    /**
     * 
     */
    private Date updateTime;
    /**
     *
     */
    private Date visitTime;
    /**
     * 
     */
    @TableLogic
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}